/*
Theme Name: Think Building
Description: Tema de Think Building con portada y contacto.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Author: Think Building
Text Domain: think-building
*/

:root {
	--ink: #242421;
	--ink-deep: #20201d;
	--paper: #faf9f3;
	--yellow: #edc93b;
	--muted: #51504a;
	--line: #dedbd0;
	--display: Manrope, "Helvetica Neue", Arial, sans-serif;
	--body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.065em; }
h2 { font-size: clamp(2.5rem, 5.7vw, 5.1rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.045em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--ink-deep); background: var(--yellow); }
.wrap { width: min(calc(100% - 8.8vw), 1280px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 16px; background: var(--yellow); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: var(--ink-deep); color: var(--paper); }
.header-inner, .footer-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.header-inner { border-bottom: 1px solid rgba(245,247,231,.20); }
.custom-logo { width: auto; max-width: 180px; max-height: 50px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); }
.main-nav a, .footer-inner > a:not(.original-logo) { text-decoration: none; font-size: .88rem; font-weight: 600; }
.main-nav a:hover, .footer-inner a:hover, .contact-email:hover { color: var(--yellow); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; min-height: 52px; padding: 12px 20px; border-radius: 5px; text-decoration: none; color: var(--ink-deep); font: 800 .88rem/1.2 var(--display); cursor: pointer; }
.button span { font-size: 1.1rem; }
.button--header { border-color: #807d6f; color: var(--paper); min-height: 44px; padding: 9px 15px; }
.button--header:hover { border-color: var(--yellow); color: var(--yellow); }
.button--lime { background: var(--yellow); }
.button--yellow:hover { background: #f7dd75; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; font-size: .76rem; font-weight: 800; letter-spacing: .127em; line-height: 1.3; text-transform: uppercase; }
.green-dot { width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; }

.hero { background: var(--ink-deep); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .85fr; align-items: center; gap: 4.5%; padding-block: clamp(58px, 7vw, 112px); }
.hero .eyebrow { color: #f4e8ab; margin-bottom: 26px; }
.hero h1 { font-size: clamp(3rem, 5.02vw, 5.35rem); letter-spacing: -.058em; word-spacing: .04em; line-height: 1.01; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-copy { min-width: 0; }
.hero-description { max-width: 430px; font-size: clamp(1rem, 1.4vw, 1.22rem); color: #e6e1d3; margin: 26px 0 29px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link { display: inline-flex; align-items: center; gap: 7px; text-underline-offset: .32em; font-size: .89rem; font-weight: 700; }
.link:hover { color: var(--yellow); }
.hero-visual { position: relative; isolation: isolate; min-width: 0; aspect-ratio: .96; border-radius: 6px; background: #c4ab60; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-visual::after { content: ""; position: absolute; pointer-events: none; inset: 0; background: linear-gradient(145deg, rgba(237,201,59,.27), rgba(31,30,25,.12) 60%, rgba(35,30,17,.47)); mix-blend-mode: multiply; }
.hero-corner { position: absolute; z-index: 1; width: 27px; height: 27px; border: 2px solid var(--yellow); }
.hero-corner--top { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hero-corner--bottom { right: 18px; bottom: 18px; border-top: 0; border-left: 0; }

.section { padding-block: clamp(63px, 8.4vw, 120px); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 32px; margin-bottom: 48px; }
.section-heading > p { max-width: 410px; margin: 0 0 4px; color: var(--muted); font-size: 1.08rem; }

.about { background: #eeece3; }
.about-grid { display: grid; grid-template-columns: 1.05fr .77fr; gap: clamp(28px, 8vw, 114px); align-items: center; }
.about-lead { margin-top: 22px; font-size: 1.3rem; line-height: 1.38; font-weight: 650; }
.about-grid p:last-child { margin-bottom: 0; }
.about-details { border-top: 1px solid #d1cdc0; }
.about-details > div { padding: 22px 0; border-bottom: 1px solid #d1cdc0; }
.about-details h3 { margin-bottom: 9px; }
.about-details p { color: var(--muted); }


.contact { background: var(--ink-deep); color: var(--paper); padding-block: clamp(65px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(28px, 8vw, 116px); }
.contact .eyebrow { color: var(--yellow); }
.contact h2 { margin-bottom: 21px; }
.contact p:not(.eyebrow) { color: #e5dfd0; }
.contact-email { text-underline-offset: 5px; font-weight: 700; }
.contact-location { font-size: .88rem; margin-top: 12px; }
.contact-form { display: grid; gap: 15px; }
.contact-form label { display: grid; gap: 5px; color: #f4efe1; font-size: .88rem; font-weight: 650; }
.form-row { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #767260; border-radius: 4px; background: #2e2d27; color: var(--paper); padding: 9px 11px; font: 400 1rem/1.4 var(--body); }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.contact-trap { position: absolute; top: auto; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-inline-start: 3px solid var(--yellow); padding-inline-start: 12px; margin: 0; }
.site-footer { background: var(--ink-deep); color: var(--paper); }
.footer-inner { border-top: 1px solid #5a574b; }

.entry-heading { max-width: 930px; padding-block: clamp(38px, 6vw, 78px) 32px; }
.entry h1 { font-size: clamp(2.45rem, 5.7vw, 5.6rem); }
.prose { width: min(calc(100% - 8.8vw), 730px); margin: 0 auto; padding-block: clamp(40px, 6vw, 78px); font-size: 1.07rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.2em 0 .55em; line-height: 1.13; letter-spacing: -.041em; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.55rem); }
.prose h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
.prose li { margin-bottom: .5em; }
.prose img { width: 100%; margin-block: 24px; border-radius: 6px; }
.prose a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose > a[href="#contacto"] { display: inline-flex; padding: 10px 16px; background: var(--yellow); border-radius: 4px; text-decoration: none; font-weight: 750; }
.listing { padding-block: 46px; }

@media (max-width: 1050px) {
	.hero h1 { font-size: clamp(2.65rem, 5.48vw, 4.4rem); }
}
@media (max-width: 760px) {
	.wrap, .prose { width: calc(100% - 34px); }
	.header-inner { flex-wrap: wrap; gap: 0 10px; padding-top: 13px; }
	.main-nav { order: 3; width: 100%; gap: 24px; padding: 12px 0 11px; }
	.hero-grid, .section-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-grid { gap: 32px; padding-block: 50px 36px; }
	.hero h1 { font-size: clamp(2.125rem, 8.85vw, 4.0rem); }
	.hero-visual { aspect-ratio: 1.43; }
	.hero-visual img { object-position: 50% 40%; }
	.hero-description { margin: 20px 0 23px; }
	.section-heading { gap: 17px; margin-bottom: 25px; }
	.footer-inner { flex-wrap: wrap; padding-block: 19px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.arrow-up-right {
	position: relative;
	display: inline-block;
	width: 14px;
	height: 14px;
	flex: none;
}
.arrow-up-right::before, .arrow-up-right::after {
	content: "";
	position: absolute;
}
.arrow-up-right::before {
	top: 1px;
	right: 1px;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
.arrow-up-right::after {
	top: 2px;
	right: 2px;
	width: 14px;
	height: 2px;
	background: currentColor;
	transform: rotate(-45deg);
	transform-origin: right center;
}
.original-logo {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 67px;
	height: 59px;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}
.original-logo img { width: 100%; height: auto; }
.site-footer .original-logo { margin-block: 11px; }
.section-intro p:last-child, .business-focus p:last-child, .ai-copy p:last-child { margin-bottom: 0; }
.section-intro, .business-focus p { color: var(--muted); }
.business-focus { max-width: 820px; padding: 26px 30px; border-inline-start: 5px solid var(--yellow); background: #f3efdf; }
.business-focus p { margin-top: 12px; }
.ai-section { color: var(--ink-deep); background: #fbf3ce; }
.ai-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(26px,7vw,95px); align-items: center; }
.ai-grid h2, .approach h2 { font-size: clamp(2.4rem, 5.15vw, 4.75rem); }
.ai-copy { border-inline-start: 2px solid #bba029; padding-inline-start: clamp(19px,3vw,43px); }
.collaboration { background: var(--paper); }
.collaboration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(22px,4vw,44px); }
.collaboration-card { padding: clamp(20px,4vw,42px); border: 1px solid var(--line); border-radius: 6px; }
.collaboration-card dl { margin: 21px 0 0; }
.collaboration-card dt { font-weight: 800; }
.collaboration-card dd { color: var(--muted); margin: 4px 0 17px; }
.collaboration-card dd:last-child { margin-bottom: 0; }
.hero-description strong { display: block; margin-bottom: 4px; color: var(--paper); }

@media (max-width: 760px) {
	.ai-grid, .collaboration-grid { grid-template-columns: 1fr; }
	.original-logo { width: 55px; height: 49px; }
	.main-nav { flex-wrap: wrap; gap: 5px 19px; }
	.business-focus { padding: 21px; }
}
