/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --color-terracotta: #C8553D;
    --color-terracotta-dark: #A8432F;
    --color-terracotta-light: #E8735A;
    --color-sand: #E8D5C4;
    --color-sand-light: #F5EDE5;
    --color-sand-dark: #C4A882;
    --color-cream: #FDF8F4;
    --color-dark: #1A1412;
    --color-dark-soft: #2D2420;
    --color-text: #3D302A;
    --color-text-light: #7A6B63;
    --color-white: #FFFFFF;
    --color-border: rgba(200, 85, 61, 0.15);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(26, 20, 18, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 20, 18, 0.1);
    --shadow-lg: 0 20px 60px rgba(26, 20, 18, 0.12);
    --shadow-accent: 0 8px 30px rgba(200, 85, 61, 0.25);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========================================
   Geometric Background Decorations
   ======================================== */
.geo-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--color-terracotta);
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: var(--color-sand-dark);
    bottom: 10%;
    left: -100px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.05;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--color-terracotta);
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-sand-dark);
    opacity: 0.05;
    bottom: 30%;
    right: 10%;
    transform: rotate(45deg);
}

.geo-dots {
    position: absolute;
    top: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--color-terracotta) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.2;
}

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
}

.text-accent {
    color: var(--color-terracotta);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(200, 85, 61, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-sand-dark);
}

.btn--outline:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-terracotta);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Section Headers
   ======================================== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: rgba(200, 85, 61, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.7;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(26, 20, 18, 0.08);
    padding: 12px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo__mark {
    width: 44px;
    height: 44px;
    background: var(--color-terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.logo:hover .logo__mark {
    transform: rotate(0deg);
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo__text--accent {
    color: var(--color-terracotta);
}

.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--color-terracotta);
    background: rgba(200, 85, 61, 0.06);
}

.nav__link--cta {
    background: var(--color-terracotta);
    color: var(--color-white);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--color-terracotta-dark);
    color: var(--color-white);
}

.nav__close {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-dark);
    transition: var(--transition);
}

.nav__close:hover {
    background: var(--color-sand-light);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__toggle:hover {
    background: var(--color-sand-light);
}

.nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: var(--color-cream);
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200, 85, 61, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 213, 196, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-terracotta);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--color-dark);
}

.hero__headline em {
    font-style: italic;
    color: var(--color-terracotta);
    position: relative;
}

.hero__headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(200, 85, 61, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.hero__subheadline {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

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

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__trust-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
}

.hero__trust-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: var(--color-sand);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    height: 600px;
}

.hero__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__image {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image--primary {
    width: 340px;
    height: 420px;
    top: 20px;
    right: 0;
}

.hero__image--primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--accent {
    width: 220px;
    height: 280px;
    bottom: 40px;
    left: 0;
    border: 6px solid var(--color-white);
}

.hero__image--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 85, 61, 0.1) 0%, transparent 60%);
}

/* Floating Cards */
.hero__floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero__floating-card--1 {
    bottom: 120px;
    right: -10px;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    top: 60px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(200, 85, 61, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.floating-card__icon--sand {
    background: rgba(196, 168, 130, 0.2);
    color: var(--color-sand-dark);
}

.floating-card__text {
    display: flex;
    flex-direction: column;
}

.floating-card__text strong {
    font-size: 0.85rem;
    color: var(--color-dark);
    font-weight: 600;
}

.floating-card__text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Hero Wave */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--color-sand-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.service-card__accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-sand-dark);
    transition: var(--transition);
}

.service-card--legal .service-card__accent-bar {
    background: var(--color-terracotta);
}

.service-card--finance .service-card__accent-bar {
    background: var(--color-sand-dark);
}

.service-card--integrated .service-card__accent-bar {
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-sand-dark));
}

.service-card:hover .service-card__accent-bar {
    height: 6px;
}

.service-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card__icon-wrap--terracotta {
    background: rgba(200, 85, 61, 0.1);
    color: var(--color-terracotta);
}

.service-card__icon-wrap--sand {
    background: rgba(196, 168, 130, 0.2);
    color: var(--color-sand-dark);
}

.service-card__icon-wrap--white {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.service-card__list li svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

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

.about__visual {
    position: relative;
}

.about__image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-cream);
}

.about__image-secondary img {
    width: 260px;
    height: 320px;
    object-fit: cover;
}

.about__experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-accent);
    z-index: 1;
}

.about__experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.about__experience-text {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.about__geometric {
    position: absolute;
    top: -30px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: var(--color-sand);
    border-radius: var(--radius-md);
    transform: rotate(30deg);
    opacity: 0.5;
    z-index: 0;
}

.about__content {
    position: relative;
    z-index: 1;
}

.about__body {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about__value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about__value-icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 85, 61, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.about__value strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.about__value span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ========================================
   Approach Section
   ======================================== */
.approach {
    padding: 100px 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 85, 61, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.approach__content .section-tag {
    background: rgba(200, 85, 61, 0.2);
}

.approach__content .section-title {
    color: var(--color-white);
}

.approach__content .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.approach__steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.approach__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
}

.approach__step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height:
