html, body, #root { margin: 0; min-height: 100%; }
body { background: #faf7f1; }

.mx {
    --paper: #faf7f1;
    --ink: #20281f;
    --ink-soft: #5c5a4e;
    --accent: #b85c25;
    --accent-deep: #96491c;
    --dark: #182219;
    --gold: #d9a441;
    --hairline: #e6e0d4;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.mx h1, .mx h2, .mx h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.mx p { margin: 0; }
.mx a { color: inherit; }
.mx img { display: block; }

.mx-eyebrow {
    font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.mx-eyebrow.light { color: #ffd9ad; }
.mx-eyebrow.gold { color: var(--gold); }

.mx-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; text-decoration: none;
    padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 14px -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0.01em;
    transition: background .2s ease;
}
.mx-btn:hover { background: var(--accent-deep); }
.mx-btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .85); color: #fff; }
.mx-btn.ghost:hover { background: rgb(255 255 255 / .12); }

/* ---------- nav ---------- */
.mx-nav {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 28px;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
}
.mx-brand { font-family: Georgia, "Times New Roman", serif; font-size: 21px; text-decoration: none; }
.mx-brand em, .mx-footer-brand em { font-style: normal; color: var(--accent); }
.mx-nav nav { display: flex; align-items: center; gap: 22px; }
.mx-nav nav a {
    text-decoration: none; font-size: 14px; color: var(--ink-soft);
    padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center;
}
.mx-nav nav a:hover { color: var(--ink); }
.mx-nav nav a.mx-nav-cta {
    background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px; min-height: 0;
}
.mx-nav nav a.mx-nav-cta:hover { background: var(--accent); }

/* ---------- hero ---------- */
.mx-hero {
    min-height: 560px; background-size: cover; background-position: center 30%;
    display: flex; align-items: flex-end; position: relative;
}
.mx-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(15 22 16 / .18) 0%, rgb(15 22 16 / .30) 45%, rgb(15 22 16 / .72) 100%);
}
.mx-hero-inner { position: relative; padding: 64px 28px 72px; max-width: 720px; }
.mx-hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 64px); line-height: 1.04; }
.mx-hero-sub { color: rgb(255 255 255 / .92); font-size: 17px; margin: 18px 0 28px; max-width: 30em; }
.mx-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- crypto band ---------- */
.mx-crypto { background: var(--dark); color: #f2ede2; padding: 54px 28px; }
.mx-crypto-inner {
    max-width: 1040px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.mx-crypto h2 { color: #fff; font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 10px; }
.mx-crypto-text p:last-child { color: #cfc8b8; max-width: 34em; }
.mx-coins { display: flex; gap: 14px; flex-wrap: wrap; }
.mx-coin {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgb(217 164 65 / .45); border-radius: 14px; padding: 14px 18px;
    font-size: 15px; font-weight: 500; color: #f5efe0;
}
.mx-coin i { font-style: normal; font-size: 20px; color: var(--gold); }
.mx-coin b {
    font-size: 11px; letter-spacing: .1em; color: var(--gold);
    border: 1px solid rgb(217 164 65 / .5); padding: 2px 7px; border-radius: 6px;
}

/* ---------- generic section ---------- */
.mx-section { padding: 76px 28px; max-width: 1096px; margin: 0 auto; }
.mx-section > h2, .mx-transfers-text h2, .mx-contact-info h2 { font-size: clamp(28px, 3.8vw, 38px); margin-bottom: 14px; }
.mx-lede { color: var(--ink-soft); max-width: 40em; margin-bottom: 36px; }
.mx-tint { background: #f3eee3; max-width: none; }
.mx-tint > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.mx-tint > h2, .mx-tint > .mx-eyebrow, .mx-tint > .mx-lede { margin-left: auto; margin-right: auto; }

/* ---------- services ---------- */
.mx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mx-service {
    background: #fff; border: 1px solid var(--hairline); border-radius: 18px; padding: 26px 24px;
}
.mx-service svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.mx-service h3 { font-size: 19px; margin-bottom: 6px; }
.mx-service p { color: var(--ink-soft); font-size: 14px; }

/* ---------- tours ---------- */
.mx-tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mx-tour { margin: 0; }
.mx-tour img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px;
}
.mx-tour figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 4px 0; }
.mx-tour-name { font-weight: 600; font-size: 15px; }
.mx-tour-meta { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

/* ---------- transfers ---------- */
.mx-transfers { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.mx-transfers-text h2 { margin-bottom: 14px; }
.mx-transfers-text p { color: var(--ink-soft); margin-bottom: 12px; }
.mx-transfers-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* ---------- reviews ---------- */
.mx-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mx-quotes blockquote {
    margin: 0; background: #fff; border: 1px solid var(--hairline);
    border-radius: 18px; padding: 24px;
}
.mx-stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.mx-quotes p { margin: 12px 0 14px; font-size: 14.5px; }
.mx-quotes cite { font-style: normal; color: var(--ink-soft); font-size: 13px; }

/* ---------- steps ---------- */
.mx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mx-steps li { background: #fff; border: 1px solid var(--hairline); border-radius: 18px; padding: 26px 24px; }
.mx-steps b {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
    font-size: 15px; margin-bottom: 16px;
}
.mx-steps h3 { font-size: 18px; margin-bottom: 6px; }
.mx-steps p { color: var(--ink-soft); font-size: 14px; }

/* ---------- contact ---------- */
.mx-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.mx-contact-info > p { color: var(--ink-soft); margin-bottom: 24px; }
.mx-contact-list { list-style: none; margin: 0; padding: 0; }
.mx-contact-list li { padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.mx-contact-list span {
    display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: 3px;
}
.mx-contact-list a { text-decoration: none; font-weight: 500; }
.mx-contact-list a:hover { color: var(--accent); }

.mx-form {
    background: #fff; border: 1px solid var(--hairline); border-radius: 20px; padding: 28px;
    display: flex; flex-direction: column; gap: 14px;
}
.mx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mx-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.mx-form input, .mx-form textarea {
    font: 350 14.5px -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink);
    border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 13px; background: #fcfbf8;
    outline: none; resize: vertical;
}
.mx-form input:focus, .mx-form textarea:focus { border-color: var(--accent); }
.mx-form .mx-btn { align-self: flex-start; margin-top: 4px; }
.mx-form-note { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.mx-footer {
    background: var(--dark); color: #cfc8b8; padding: 48px 28px 32px;
    display: grid; grid-template-columns: 1fr auto; gap: 20px;
}
.mx-footer-brand { font-family: Georgia, "Times New Roman", serif; font-size: 22px; color: #fff; margin-bottom: 6px; }
.mx-footer-contact { text-align: right; font-size: 14px; }
.mx-footer-legal { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 18px; font-size: 12.5px; color: #8f8a7c; }

/* ---------- notas (ES) ---------- */
.mx-notes {
    background: #fdfcf9; border-top: 3px dashed #d8d2c4;
    padding: 56px max(28px, calc((100% - 1040px) / 2)) 64px;
}
.mx-notes-tag {
    display: inline-block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    font-weight: 600; color: var(--accent-deep); background: #f6ead9;
    padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.mx-notes h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 24px; }
.mx-notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mx-notes h3 { font-size: 17px; margin-bottom: 10px; }
.mx-notes ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.mx-notes li { margin-bottom: 8px; }
.mx-notes-next {
    margin-top: 28px; padding: 16px 20px; background: #fff;
    border: 1px solid var(--hairline); border-left: 3px solid var(--accent);
    border-radius: 12px; font-size: 14.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .mx-services, .mx-tours, .mx-quotes, .mx-steps { grid-template-columns: repeat(2, 1fr); }
    .mx-transfers, .mx-contact { grid-template-columns: 1fr; }
    .mx-transfers-photo { order: -1; }
}
@media (max-width: 620px) {
    .mx-nav { padding: 12px 18px; }
    .mx-nav nav { gap: 12px; }
    .mx-nav nav a { font-size: 13px; }
    .mx-nav nav a:not(.mx-nav-cta) { display: none; }
    .mx-hero { min-height: 480px; }
    .mx-hero-inner { padding: 48px 20px 56px; }
    .mx-section { padding: 56px 20px; }
    .mx-services, .mx-tours, .mx-quotes, .mx-steps { grid-template-columns: 1fr; }
    .mx-form-row { grid-template-columns: 1fr; }
    .mx-footer { grid-template-columns: 1fr; }
    .mx-footer-contact { text-align: left; }
    .mx-notes { padding: 44px 20px 52px; }
    .mx-notes-grid { grid-template-columns: 1fr; }
}

/* Keep contact details and form controls within narrow screens. */
.mx *, .mx *::before, .mx *::after { box-sizing: border-box; }
.mx-contact > *, .mx-form-row > * { min-width: 0; }
.mx-form input, .mx-form textarea { width: 100%; min-width: 0; }
.mx-contact-list a, .mx-footer-contact p, .mx-notes li { overflow-wrap: anywhere; }
.mx-form small { font-size: 12px; font-weight: 350; color: var(--ink-soft); }

.mx-form .mx-btn:disabled { cursor: default; opacity: .7; }

.mx-review-source { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--accent-deep); }
.mx-review-rating { color: var(--ink-soft); font-weight: 400; font-size: 11.5px; }
.mx-quotes cite { display: block; font-weight: 600; }
.mx-quotes cite span { display: block; font-weight: 400; font-size: 12px; }
.mx-review-link { display: flex; align-items: center; min-height: 44px; font-size: 12.5px; text-underline-offset: 3px; }
.mx-review-excerpt { display: block; color: var(--ink-soft); font-size: 11.5px; }

.mx-glance-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.mx-glance-list div { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 18px; min-width: 0; }
.mx-glance-list dt { font-size: 12px; font-weight: 600; color: var(--accent-deep); text-transform: uppercase; letter-spacing: .04em; }
.mx-glance-list dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; overflow-wrap: anywhere; }
.mx-faq { display: grid; gap: 10px; max-width: 52em; }
.mx-faq details { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 0 20px; }
.mx-faq summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.mx-faq p { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }
.mx-seo { margin-top: 32px; }
.mx-seo details { margin: 14px 0; }
.mx-seo summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.mx-seo pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 14px; }
.mx-seo p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 640px) { .mx-glance-list { grid-template-columns: 1fr; } }

/* production additions */
.mx-ticker { background: #fff; }
.mx-faq-more { margin-top: 22px; color: var(--ink-soft); font-size: 14px; }
.mx-faq-more a { color: var(--accent); }
.mx-footer-links { margin-top: 6px; }
.mx-footer-links-title { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.mx-footer-links a { color: inherit; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .25); }
.mx-footer-links a:hover { color: #fff; }

/* ticker: reserve only the tape height; hide gracefully if the widget cannot load */
.mx-ticker { min-height: 0; }
.mx-ticker .tradingview-widget-container { height: auto; }

/* ---------- blog & inner pages (design chrome) ---------- */
.mx-main { min-height: 40vh; }
.mx-h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(30px, 4.2vw, 42px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.mx-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.mx-blog-card { background: #fff; border: 1px solid rgb(31 41 32 / .1); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mx-blog-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 20px; line-height: 1.3; margin: 0; }
.mx-blog-card h2 a { color: inherit; text-decoration: none; }
.mx-blog-card h2 a:hover { color: var(--accent); }
.mx-blog-thumb { margin: -6px -6px 4px; display: block; border-radius: 10px; overflow: hidden; }
.mx-blog-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.mx-blog-meta { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.mx-blog-card > p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.mx-blog-more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; align-self: flex-start; }
.mx-blog-more:hover { border-bottom-color: var(--accent); }
.mx-pagination { margin-top: 34px; }
.mx-pagination .nav-links { display: flex; gap: 10px; }
.mx-pagination a, .mx-pagination span.current { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(31 41 32 / .18); font-size: 13.5px; text-decoration: none; color: inherit; }
.mx-pagination span.current { background: var(--dark); color: #fff; border-color: var(--dark); }
.mx-prose { max-width: 760px; }
.mx-prose p, .mx-prose li { line-height: 1.65; }
.mx-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.mx-prose figure { margin: 18px 0; }
.mx-prose figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.mx-prose h2, .mx-prose h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 1.6em 0 .5em; }
.mx-prose blockquote { border-left: 3px solid var(--gold); margin: 1.4em 0; padding: 4px 18px; color: var(--ink-soft); }
.mx-prose a { color: var(--accent); }
.mx-featured img { width: 100%; height: auto; border-radius: 14px; }
.mx-prose .comments-area { margin-top: 44px; border-top: 1px solid rgb(31 41 32 / .12); padding-top: 24px; }
@media (max-width: 880px) {
    .mx-blog-grid { grid-template-columns: 1fr; }
}
.mx-page { max-width: 1096px; }
.mx-page .elementor { margin-left: -28px; margin-right: -28px; }

/* Contact Form 7 integration */
.mx-form .wpcf7-form-control-wrap { display: block; }
.mx-form .wpcf7-not-valid-tip { font-size: 12px; color: #b3261e; font-weight: 500; margin-top: 2px; }
.mx-form .wpcf7-response-output { grid-column: 1 / -1; margin: 8px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; }
.mx-form .wpcf7-form.sent .wpcf7-response-output { background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20; }
.mx-form .wpcf7-form.failed .wpcf7-response-output,
.mx-form .wpcf7-form.invalid .wpcf7-response-output { background: #fdecea; border: 1px solid #f5b7b1; color: #8a1c13; }
.mx-form .wpcf7-spinner { margin-left: 10px; }

/* CF7 wraps rows in <p>/<br>: neutralize so the grid sees the labels */
.mx-form .mx-form-row > p { display: contents; }
.mx-form br { display: none; }
.mx-form p { margin: 0 0 12px; }
.mx-form .mx-form-row > p { margin: 0; }

.mx-form .hidden-fields-container { display: none; }
