/********** MILES — Design Tokens **********/
:root {
    --primary: #FD5D14;      /* orange — from the logo's diamond */
    --gold: #C99A2E;         /* deepened gold accent */
    --navy: #0A1428;         /* core dark background */
    --navy-light: #131F38;   /* secondary dark surface */
    --navy-brand: #2B3A8F;   /* MILES wordmark blue */
    --cream: #F7F5F0;        /* warm light background */
    --ink: #171B26;          /* body text on light */
    --line: rgba(255,255,255,.12);
}

*{box-sizing:border-box;}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: var(--ink);
    background: var(--cream);
}

h1, h2, h3, h4, h5, .display-5, .display-3, .display-4 {
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    background: var(--primary);
    transform: rotate(45deg);
    display: inline-block;
}

.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.bg-primary { background: var(--primary) !important; }

.pt-6 { padding-top: 90px; }
.pb-6 { padding-bottom: 90px; }
.py-6 { padding-top: 90px; padding-bottom: 90px; }

/********** Diamond bullet motif (replaces fa-check) **********/
.diamond-list { list-style: none; padding-left: 0; margin: 0; }
.diamond-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    line-height: 1.55;
}
.diamond-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    transform: rotate(45deg);
    border-radius: 2px;
}
.diamond-list.on-dark li { color: rgba(255,255,255,.85); }
.diamond-list-strong li { font-weight: 600; }

/********** Buttons **********/
.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
    border-radius: 2px;
    transition: .35s;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: #e04e0a;
    border-color: #e04e0a;
}

.btn-outline-light {
    border-width: 1.5px;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.btn-square { width: 36px; height: 36px; }
.btn-sm-square { width: 28px; height: 28px; }
.btn-lg-square { width: 46px; height: 46px; }

.btn-gold {
    display: inline-block;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--gold), #E4B23F);
    color: #1a1204;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
    transition: .3s ease;
    border: none;
}
.btn-gold:hover {
    filter: brightness(1.08);
    color: #1a1204;
}

.btn-whatsapp {
    display: inline-block;
    padding: 13px 30px;
    background: #25D366;
    color: #fff;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

/********** Navbar **********/
.navbar-dark.bg-dark { background: rgba(10,20,40,.97) !important; }
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    outline: none;
    transition: .3s;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-dark .navbar-nav .nav-link.bg-primary {
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link { margin-left: 0; padding: 10px 0; }
}

.logo-container {
    width: 100%;
    max-width: 190px;
    background: var(--cream);
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.logo-container img { width: 100%; height: auto; display: block; }
.center-logo { display: flex; align-items: center; padding: 14px 0; }
@media (max-width: 600px) { .logo-container { max-width: 130px; padding: 8px 14px; } }

/********** Backgrounds **********/
.bg-navy { background: var(--navy) !important; }
.bg-navy-light { background: var(--navy-light) !important; }

.bg-dark-radial {
    background-image: repeating-radial-gradient(center center, rgba(0,0,0,.3), rgba(0,0,0,.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}
.bg-light-radial {
    background-image: repeating-radial-gradient(center center, rgba(255,255,255,.2), rgba(255,255,255,.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

/********** Hero / Carousel **********/
.hero-slide {
    position: relative;
    height: 78vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10,20,40,.92) 0%, rgba(10,20,40,.35) 55%, rgba(10,20,40,.55) 100%);
}
.hero-caption {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 5% 60px;
    max-width: 720px;
}
.hero-caption h1 {
    font-size: 52px;
    color: #fff;
    line-height: 1.1;
}
.hero-caption p { font-size: 17px; color: rgba(255,255,255,.85); }

@media (max-width: 767.98px) {
    .hero-slide { height: 60vh; min-height: 420px; }
    .hero-caption h1 { font-size: 32px; }
}

.carousel-indicators [data-bs-target] { background: var(--gold); }

/********** Page Header **********/
.page-header {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10,15,30,.55), rgba(10,15,30,.6)), url('../images/caroul1.jpg') center center no-repeat;
    background-size: cover;
}
.page-header h1 { color: #fff; }
.page-header a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-header a:hover { color: var(--primary); }

@media (max-width: 576px) { .page-header { height: 200px; } }

/********** Service item cards (home) **********/
.service-item {
    box-shadow: 0 10px 30px rgba(10,20,40,.08);
    border: 1px solid rgba(10,20,40,.06);
}
.service-item .service-icon {
    margin-top: -34px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: 0 8px 20px rgba(253,93,20,.35);
}
.service-item .service-icon i { transform: rotate(-45deg); }
.service-item img { height: 220px; object-fit: cover; width: 100%; }

/********** Services / Business blocks (service.html) **********/
.services-section { padding: 100px 0; background: var(--navy); }
.service-block { margin-bottom: 70px; }
.service-block:last-child { margin-bottom: 0; }
.service-image {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.service-content { padding: 40px 10px; color: #fff; }
.service-content h2 { font-size: 30px; margin-bottom: 18px; color: var(--gold); }
.service-content > p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.78); }

/********** Sales / property cards **********/
.sales-intro { padding: 70px 0 30px; }
.sales-intro h1 { color: #fff; }
.sales-intro p { color: rgba(255,255,255,.7); }

.property-price-tag {
    display: inline-block;
    background: rgba(201,154,46,.15);
    border: 1px solid rgba(201,154,46,.4);
    color: var(--gold);
    font-family: 'Fraunces', serif;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 2px;
    font-size: 15px;
    margin-top: 2px;
}

/********** Contact page **********/
.contact-form-wrap {
    background: var(--navy-light);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 50px;
}
.contact-form-wrap h3 { color: #fff; }
.contact-form-wrap p.lead-note { color: rgba(255,255,255,.6); }

.form-floating > .form-control,
.form-select {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
}
.form-floating > .form-control:focus,
.form-select:focus {
    background: rgba(255,255,255,.06);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(253,93,20,.15);
}
.form-floating > .form-control::placeholder { color: transparent; }
.form-floating > label { color: rgba(255,255,255,.55); }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label { color: rgba(255,255,255,.75); }
.form-select option { color: #000; }

.form-status {
    display: none;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 18px;
}
.form-status.success { display: block; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4); color: #7fe3a8; }
.form-status.error { display: block; background: rgba(253,93,20,.12); border: 1px solid rgba(253,93,20,.4); color: #ffab7a; }

.contact-channel {
    background: #fff;
    border: 1px solid rgba(10,20,40,.08);
    border-radius: 6px;
    padding: 30px;
    height: 100%;
}
.contact-channel .ch-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(253,93,20,.1);
    color: var(--primary);
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 18px;
}

/********** Floating WhatsApp button **********/
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
    z-index: 1000;
}
.whatsapp-float:hover { color: #fff; filter: brightness(1.05); }

/********** Footer **********/
.footer { background: var(--navy) !important; }
.footer h1, .footer h4 { color: #fff; }
.footer a { text-decoration: none; }
.footer .text-white-50:hover { color: var(--primary) !important; }

@media (min-width: 992px) {
    .footer-col-divider { border-left: 1px solid var(--line); }
}

/********** Mobile spacing fixes **********/
@media (max-width: 576px) {
    .container-fluid.py-6.px-5,
    .footer.container-fluid.py-6.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .py-6 { padding-top: 50px; }
    .pb-6 { padding-bottom: 50px; }
    .contact-form-wrap { padding: 30px 22px; }
}

@media (max-width: 991.98px) {
    .service-image { min-height: 260px; }
    .service-content { padding: 30px 10px; }
    .service-content h2 { font-size: 24px; }
}
