/* Casa Tierra — International page (/international). Loaded by that view only.
   Light sections use the site theme variables, so they follow the theme and dark mode;
   the photo hero, the olive proof band and the dark closing band keep fixed light type. */

.ix { --ix-muted: var(--muted); --ix-ink: #2A201A; --ix-cream: #F6F1EA; --ix-cream-2: #E4D9C9; --ix-sand-2: #CDBBA6; }
html[data-theme="terra"]:not([data-mode="dark"]) .ix { --ix-muted: #75614F; }
:where(.ix) a { color: inherit; }
html[dir="rtl"] .ix * { letter-spacing: 0 !important; }

.ix-preview-note { margin: 0; padding: 10px var(--gutter); background: var(--olive); color: var(--ix-cream); font-size: 13px; text-align: center; }

/* type */
.ix-eyebrow { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--walnut-2); }
.ix-script { margin: 0; font-family: var(--f-script); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.05; color: var(--walnut-2); }
html[dir="rtl"] .ix-script { font-family: "IBM Plex Sans Arabic", var(--f-sans); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; line-height: 1.4; }
.ix-display { margin: 0; max-width: 12ch; font-weight: 300; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
html[dir="rtl"] .ix-display { max-width: 14ch; line-height: 1.15; font-size: clamp(40px, 5.6vw, 84px); }
.ix-h2 { margin: 0; font-weight: 300; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--walnut); }
.ix-h3 { margin: 0; font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--walnut); }
html[dir="rtl"] :is(.ix-h2, .ix-h3) { line-height: 1.3; }
.ix-text { margin: 0; font-size: 18px; line-height: 1.6; }
.ix-muted { margin: 0; color: var(--ix-muted); }
.ix-link { justify-self: start; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.ix-kicker { margin: 0; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--walnut-2); }

/* buttons */
.ix-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.ix-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: var(--radius); font: inherit; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: opacity .2s; }
.ix-btn:hover { opacity: .9; }
.ix-btn.is-light { background: var(--ix-cream); border-color: var(--ix-cream); color: var(--ix-ink); }
.ix-btn.is-outline { background: transparent; border-color: rgba(246, 241, 234, .6); color: var(--ix-cream); }
.ix-btn.is-dark { background: var(--walnut); border-color: var(--walnut); color: var(--linen); }
@media (max-width: 520px) { .ix-actions .ix-btn { flex: 1 1 100%; } }

/* ---------- hero ---------- */
.ix-hero { position: relative; display: flex; align-items: flex-end; min-height: min(800px, 92vh); overflow: hidden; background: var(--ix-ink); color: var(--ix-cream); }
.ix-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ix-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 32, 26, .9) 0%, rgba(42, 32, 26, .62) 50%, rgba(42, 32, 26, .3) 100%), linear-gradient(90deg, rgba(42, 32, 26, .55) 0%, rgba(42, 32, 26, 0) 70%); }
html[dir="rtl"] .ix-hero-shade { background: linear-gradient(0deg, rgba(42, 32, 26, .9) 0%, rgba(42, 32, 26, .62) 50%, rgba(42, 32, 26, .3) 100%), linear-gradient(270deg, rgba(42, 32, 26, .55) 0%, rgba(42, 32, 26, 0) 70%); }
.ix-hero-in { position: relative; display: grid; gap: 14px; justify-items: start; padding-top: 140px; padding-bottom: clamp(48px, 6vw, 84px); }
.ix-hero .ix-eyebrow { color: var(--ix-cream); }
.ix-hero .ix-script { color: var(--ix-cream-2); }
.ix-hero .ix-display { color: var(--ix-cream); }
.ix-lead { margin: 8px 0 0; max-width: 48ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ix-cream); }
.ix-hero .ix-actions { margin-top: 14px; }
.ix-hero .ix-actions { width: min(100%, 560px); }
.ix-facts { display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 4vw, 64px); margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(246, 241, 234, .24); }
.ix-facts dt { font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ix-cream-2); }
.ix-facts dd { margin: 2px 0 0; font-size: 22px; color: var(--ix-cream); }

/* ---------- proof: Madrid ---------- */
.ix-proof { background: var(--olive); color: var(--ix-cream); }
.ix-proof-in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 88px); padding-block: clamp(56px, 7vw, 110px); }
.ix-proof-copy { flex: 1 1 380px; min-width: 0; max-width: 540px; display: grid; gap: 14px; }
.ix-proof .ix-eyebrow, .ix-proof .ix-script { color: var(--ix-sand-2); }
.ix-proof .ix-h2 { color: var(--ix-cream); }
.ix-proof .ix-text { margin-top: 4px; color: rgba(246, 241, 234, .92); }
.ix-proof .ix-link { margin-top: 10px; color: var(--ix-cream); }
.ix-proof-media { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: start; }
.ix-proof-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ix-proof-media img:nth-child(2) { margin-top: clamp(24px, 4vw, 56px); }

/* ---------- where we deliver ---------- */
.ix-where { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.ix-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.ix-markets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); column-gap: 20px; border-top: 1px solid var(--line); }
.ix-markets li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; color: var(--walnut); }
.ix-markets span { display: block; font-size: 11px; letter-spacing: .2em; color: var(--walnut-2); }

/* ---------- how it works ---------- */
.ix-how { background: var(--linen); }
.ix-how > .wrap { padding-block: clamp(56px, 7vw, 104px); }
.ix-how .ix-h3 { margin: 10px 0 clamp(32px, 4vw, 56px); }
.ix-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 36px clamp(28px, 3vw, 48px); }
.ix-steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2, var(--line)); }
.ix-step-n { font-size: 40px; font-weight: 300; line-height: 1; color: var(--walnut-2); }
.ix-steps strong { font-size: 18px; font-weight: 400; color: var(--walnut); }

/* ---------- made for ---------- */
.ix-for { padding-block: clamp(56px, 7vw, 104px); }
.ix-for .ix-h3 { margin-bottom: clamp(28px, 4vw, 48px); }
.ix-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.ix-card { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--linen); }
.ix-card h3 { margin: 0; font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; color: var(--walnut); }
.ix-card p:not(.ix-kicker) { margin: 0; }
.ix-card .ix-link { margin-top: 4px; color: var(--walnut); }

/* ---------- quote form ---------- */
.ix-quote { background: var(--linen); scroll-margin-top: 80px; }
.ix-quote-in { display: flex; flex-wrap: wrap; align-items: start; gap: clamp(32px, 5vw, 88px); padding-block: clamp(56px, 7vw, 104px); }
.ix-quote-copy { flex: 1 1 320px; min-width: 0; max-width: 460px; display: grid; gap: 14px; }
.ix-terms { margin: 10px 0 0; border-top: 1px solid var(--line); }
.ix-terms div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ix-terms dt { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ix-muted); }
.ix-terms dd { margin: 0; font-weight: 400; color: var(--walnut); }
.ix-form { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 20px; padding: clamp(22px, 3vw, 40px); background: var(--sand); border-radius: calc(var(--radius) + 4px); }
.ix-form .ix-full { grid-column: 1 / -1; }
.ix-form .ix-full:empty { display: none; }
.ix-form .field { min-width: 0; }
.ix-form .field input, .ix-form .field textarea { background: var(--linen); }
.ix-kind { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.ix-kind legend { padding: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut-2); }
html[dir="rtl"] .ix-kind legend { font-size: 13.5px; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ix-chip { position: relative; cursor: pointer; }
.ix-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ix-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2, var(--line)); border-radius: 999px; font-size: 14px; color: var(--walnut); transition: background .2s, color .2s; }
.ix-chip input:checked + span { background: var(--walnut); border-color: var(--walnut); color: var(--linen); }
.ix-chip input:focus-visible + span { outline: 2px solid var(--walnut); outline-offset: 2px; }
.ix-kind.has-err .ix-chip span { border-color: var(--err); }
.ix-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 6px; }
.ix-submit .ix-muted { font-size: 14px; }
@media (max-width: 520px) { .ix-submit .ix-btn { flex: 1 1 100%; } }
.ix-sent { display: grid; gap: 14px; align-content: start; justify-items: start; grid-template-columns: 1fr; }

/* ---------- questions ---------- */
.ix-faq { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 88px); padding-block: clamp(56px, 7vw, 104px); }
.ix-faq .ix-h3 { flex: 1 1 280px; }
.ix-faq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.ix-faq-list details { border-bottom: 1px solid var(--line); }
.ix-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 400; color: var(--walnut); }
.ix-faq-list summary::-webkit-details-marker { display: none; }
.ix-faq-list summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; color: var(--walnut-2); }
.ix-faq-list details[open] summary::after { content: "–"; }
.ix-faq-list p { margin: 0 0 24px; max-width: 62ch; }

/* ---------- closing band ---------- */
.ix-close { background: var(--ix-ink); color: var(--ix-cream); }
.ix-close-in { display: grid; gap: 16px; justify-items: center; text-align: center; padding-block: clamp(64px, 8vw, 120px); }
.ix-close .ix-script { color: var(--ix-sand-2); }
.ix-close .ix-h2 { color: var(--ix-cream); font-size: clamp(32px, 4.4vw, 64px); }
.ix-close .ix-text { max-width: 46ch; color: rgba(246, 241, 234, .9); }
.ix-close .ix-actions { justify-content: center; margin-top: 12px; width: min(100%, 560px); }
