/* ============================================
   B the Best Beauty Salon — Custom Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-terracotta: #C4654A;
    --color-terracotta-dark: #A8523A;
    --color-terracotta-light: #D4836E;
    --color-sand: #E8D5C0;
    --color-sand-light: #F5EDE4;
    --color-sand-dark: #C4A882;
    --color-dark: #1E1512;
    --color-dark-soft: #3A2A24;
    --color-text: #2D2019;
    --color-text-muted: #6B5750;
    --color-white: #FFFFFF;
    --color-off-white: #FDF9F6;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(30, 21, 18, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 21, 18, 0.10);
    --shadow-lg: 0 16px 50px rgba(30, 21, 18, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ---------- Geometric Background Shapes ---------- */
.geo-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    opacity: 0.07;
}

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

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--color-sand);
    bottom: 10%;
    left: -150px;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: var(--color-terracotta);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--color-sand-dark);
    top: 60%;
    left: 3%;
    opacity: 0.05;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 101, 74, 0.1);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--color-terracotta);
    font-style: italic;
    font-weight: 400;
}

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

.main-nav ul {
    display: flex;
    gap: 4px;
}

.main-nav a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.main-nav a:hover {
    background: var(--color-sand-light);
    color: var(--color-terracotta);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 101, 74, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.btn-secondary:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-nav {
    margin-left: 8px;
    padding: 10px 22px;
    font-size: 14px;
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn-nav:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
}

.btn-white {
    background: var(--color-white);
    color: var(--color-terracotta);
    border-color: var(--color-white);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    border-color: var(--color-white);
}

/* ---------- Mobile Menu Button ---------- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(30, 21, 18, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu-overlay.open {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.mobile-menu-overlay nav {
    background: var(--color-off-white);
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 360px;
    width: 90%;
    transform: scale(0.9);
    transition: transform var(--transition);
}

.mobile-menu-overlay.open nav {
    transform: scale(1);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 8px;
}

.mobile-menu-overlay nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition);
}

.mobile-nav-link:hover {
    background: var(--color-sand-light);
    color: var(--color-terracotta);
}

.btn-mobile-cta {
    display: inline-flex;
    padding: 16px 32px;
    background: var(--color-terracotta);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
}

.btn-mobile-cta:hover {
    background: var(--color-terracotta-dark);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-off-white) 50%, #F0E4D8 100%);
    overflow: hidden;
}

.hero-bg-geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--color-terracotta);
    opacity: 0.06;
    top: -100px;
    right: -100px;
}

.hero-rect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-sand-dark);
    opacity: 0.08;
    bottom: 10%;
    left: -60px;
    transform: rotate(30deg);
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(196, 101, 74, 0.1);
    border: 1px solid rgba(196, 101, 74, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-terracotta);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--color-terracotta);
    font-style: italic;
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.trust-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

/* Hero Image Stack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
}

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

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-1 {
    width: 280px;
    height: 360px;
    top: 0;
    left: 50%;
    transform: translateX(-10%);
    z-index: 2;
}

.hero-img-2 {
    width: 200px;
    height: 260px;
    top: 60px;
    right: 0;
    z-index: 3;
    border: 4px solid var(--color-white);
}

.hero-img-3 {
    width: 180px;
    height: 140px;
    bottom: 20px;
    left: 10%;
    z-index: 4;
    border: 4px solid var(--color-white);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- Section Shared Styles ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196, 101, 74, 0.1);
    color: var(--color-terracotta);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid rgba(196, 101, 74, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 101, 74, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-terracotta);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

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

.services-cta {
    text-align: center;
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(196, 101, 74, 0.3);
}

.services-cta p {
    font-size: 16px;
    color: var(--color-text-muted);
}

.services-cta a {
    color: var(--color-terracotta);
    font-weight: 600;
    border-bottom: 2px solid rgba(196, 101, 74, 0.3);
    transition: border-color var(--transition);
}

.services-cta a:hover {
    border-color: var(--color-terracotta);
}

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

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

.about-visual {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--color-off-white);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.about-badge-text {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.about-content .section-title {
    text-align: left;
}

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

.about-text em {
    color: var(--color-terracotta);
    font-style: italic;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.about-feature-icon.terracotta {
    background: rgba(196, 101, 74, 0.12);
    color: var(--color-terracotta);
}

.about-feature-icon.sand {
    background: rgba(232, 213, 192, 0.6);
    color: var(--color-terracotta-dark);
}

/* ---------- Gallery Section ---------- */
.gallery {
    padding: 100px 0;
    background: var(--color-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 21, 18, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.gallery-item-lg {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 380px;
}

.gallery-item {
    min-height: 240px;
}

.gallery-item-wide {
    grid-column: 1 / 13;
    grid-row: 2 / 3;
    min-height: 260px;
}

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

.testimonials::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--color-terracotta);
    opacity: 0.04;
    top: -200px;
    right: -100px;
}

.testimonials .section-tag {
    background: rgba(196, 101, 74, 0.2);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1;
    color: var(--color-terracotta);
    opacity: 0.4;
    margin-bottom: -12px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 101, 74, 0.2);
    border-radius: 50%;
    color: var(--color-terracotta-light);
}

.testimonial-name {
    display: block;
    font-weight: 600;
    color: var(--color-white);
    font-size: 14px;
}

.testimonial-detail {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-geo-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.04);
    top: -150px;
    left: -100px;
}

.cta-circle-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -80px;
    right: 10%;
}

.cta-rect-1 {
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    top: 20%;
    right: 5%;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-subheadline {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 36px;
}

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

/* ---------- Contact Section ---------- */
.contact {
    padding: 100px 0;
    background: var(--color-sand-light);
}

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

.contact-info .section-title {
    text-align: left;
}

.contact-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 101, 74, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--color-terracotta);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--color-terracotta-dark);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-sand-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(196, 101, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5750' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(196, 101, 74, 0.08);
    border: 1px solid rgba(196, 101, 74, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-terracotta-dark);
    font-size: 15px;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--color-terracotta);
}

/* ---------- Map Section ---------- */
.map-section {
    background: var(--color-dark);
}

.map-section iframe {
    filter: grayscale(30%) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-footer .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

.logo-footer .logo-text {
    font-size: 13px;
    color: var(--color-white);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
}

.footer-contact address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--color-terracotta-light);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--color-terracotta-light);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-4px);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subheadline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

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

    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-features {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .contact-info .section-title {
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-img-1 {
        width: 200px;
        height: 260px;
    }

    .hero-img-2 {
        width: 140px;
        height: 180px;
        top: 40px;
        right: 0;
    }

    .hero-img-3 {
        width: 130px;
        height: 100px;
        bottom: 10px;
        left: 5%;
    }

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

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

    .gallery-item-lg {
        grid-column: 1 / 3;
        min-height: 260px;
    }

    .gallery-item-wide {
        grid-column: 1 / 3;
        min-height: 200px;
    }

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

    .about-img-accent {
        width: 140px;
        right: -10px;
        bottom: -20px;
    }

    .about-badge {
        left: -10px;
        top: -10px;
        padding: 12px 14px;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-ctas {
        flex-direction: column;
    }

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

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .gallery-item-lg {
        grid-column: 1;
    }

    .gallery-item-wide {
        grid-column: 1;
    }

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

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