/* =========================================================================
   Chubby Chair — About / Contact / FAQ page styles
   Mirrors app/about/page.tsx, app/contact/page.tsx, app/faq/page.tsx.
   Mobile-first; the md breakpoint is 768px. RTL is the document default.
   ========================================================================= */

/* ======================================================== ABOUT =========== */

/* INTRO -------------------------------------------------------------------- */
.cc-about__intro {
	margin-inline: auto;
	max-width: 700px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;            /* gap-7 */
	padding-top: 5rem;       /* pt-20 */
	padding-bottom: 4rem;    /* pb-16 */
	text-align: center;
}
.cc-about__title {
	font-size: 2.25rem;      /* text-4xl */
	font-weight: 800;
	line-height: 1.2;
}
.cc-about__lead {
	font-size: 1rem;         /* text-base */
	line-height: 2;          /* leading-8 */
	opacity: .6;
}

/* HERO BANNER -------------------------------------------------------------- */
.cc-about__hero-wrap { width: 100%; }
.cc-about__hero {
	position: relative;
	margin-inline: auto;
	width: 100%;
	max-width: 1440px;
	aspect-ratio: 1440 / 721;
	overflow: hidden;
}
.cc-about__hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* STATS -------------------------------------------------------------------- */
.cc-about__stats {
	margin-inline: auto;
	max-width: 955px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;               /* gap-8 */
	padding-block: 5rem;     /* py-20 */
	text-align: center;
}
.cc-about__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;              /* gap-2 */
}
.cc-about__stat-value {
	font-size: 1.875rem;     /* text-3xl */
	font-weight: 800;
	line-height: 1;
}
.cc-about__stat-label {
	font-size: 1rem;
	opacity: .6;
}

/* STORY ROWS --------------------------------------------------------------- */
.cc-about__story {
	margin-inline: auto;
	max-width: 1094px;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 2.5rem;             /* gap-10 */
	padding-block: 3rem;     /* py-12 */
}
.cc-about__story-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius-lg);  /* rounded-xl in source maps to 24px scale here */
}
.cc-about__story-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cc-about__story-text {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1.75rem;            /* gap-7 */
	text-align: right;
}
.cc-about__story-title {
	font-size: 1.5rem;       /* text-2xl */
	font-weight: 700;
	line-height: 1.375;      /* leading-snug */
}
.cc-about__story-body {
	font-size: 1rem;
	line-height: 2;          /* leading-8 */
	opacity: .6;
}

/* VALUES ------------------------------------------------------------------- */
.cc-about__values {
	margin-inline: auto;
	max-width: 1096px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;               /* gap-8 */
	padding-block: 5rem;     /* py-20 */
}
.cc-about__values-title {
	font-size: 1.875rem;     /* text-3xl */
	font-weight: 800;
}
.cc-about__values-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 2.5rem;             /* gap-10 */
	padding-block: 1.25rem;  /* py-5 */
}
.cc-about__value {
	display: flex;
	width: 260px;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;             /* gap-6 */
	text-align: center;
}
.cc-about__check {
	display: grid;
	place-items: center;
	height: 2.5rem;          /* h-10 */
	width: 2.5rem;           /* w-10 */
	border-radius: 9999px;
	background: var(--brand-blue-soft);
}
.cc-about__value-text {
	display: flex;
	flex-direction: column;
	gap: .75rem;             /* gap-3 */
}
.cc-about__value-title {
	font-size: 1.25rem;      /* text-xl */
	font-weight: 700;
}
.cc-about__value-body {
	font-size: 1rem;
	line-height: 1.75;       /* leading-7 */
	opacity: .6;
}

@media (min-width: 768px) {
	.cc-about__intro {
		padding-top: 7rem;   /* md:pt-28 */
	}
	.cc-about__title {
		font-size: 3rem;     /* md:text-5xl */
	}
	.cc-about__lead {
		font-size: 1.125rem; /* md:text-lg */
		line-height: 2.25rem;/* md:leading-9 */
	}
	.cc-about__stats {
		padding-block: 6rem; /* md:py-24 */
	}
	.cc-about__stat-value {
		font-size: 3rem;     /* md:text-5xl */
	}
	.cc-about__stat-label {
		font-size: 1.25rem;  /* md:text-xl */
	}
	.cc-about__story {
		grid-template-columns: 1fr 1fr;
		gap: 3.75rem;        /* md:gap-15 */
		padding-block: 4rem; /* md:py-16 */
	}
	/* Row 2: text on the right, image on the left in RTL. */
	.cc-about__story--reverse .cc-about__story-text { order: 1; }
	.cc-about__story--reverse .cc-about__story-media { order: 2; }
	.cc-about__story-title {
		font-size: 2rem;     /* md:text-[32px] */
		line-height: 1.3;
	}
	.cc-about__story-body {
		font-size: 1.25rem;  /* md:text-xl */
		line-height: 2.25rem;/* md:leading-9 */
	}
	.cc-about__values {
		padding-block: 7rem; /* md:py-28 */
	}
	.cc-about__values-title {
		font-size: 2.5rem;   /* md:text-[40px] */
	}
}

/* ====================================================== CONTACT =========== */

.cc-contact__head {
	padding-top: 2.5rem;
}
.cc-contact__title {
	text-align: center;
	font-size: 2.25rem;
	font-weight: 800;
}
.cc-contact__intro {
	max-width: 680px;
	margin: 1rem auto 0;
	text-align: center;
	font-size: 1.0625rem;
	line-height: 2;
	opacity: .65;
}
.cc-contact__channels {
	margin: 2.5rem auto 0;
	display: grid;
	direction: ltr;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	max-width: 980px;
	list-style: none;
	padding: 0;
}
.cc-contact__channel {
	display: flex;
	min-height: 180px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--neutral-soft);
}
.cc-contact__channel--address {
	grid-column: 1 / -1;
}
.cc-contact__channel-icon {
	display: grid;
	place-items: center;
	height: 3rem;
	width: 3rem;
	flex: 0 0 auto;
	border-radius: 9999px;
	background: #fff;
	color: #000;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}
.cc-contact__channel a.cc-contact__channel-icon:hover {
	opacity: 1;
	transform: translateY(-2px);
}
.cc-contact__channel-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}
.cc-contact__channel-label {
	font-size: .95rem;
	opacity: .55;
}
.cc-contact__channel-value {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.9;
	direction: rtl;
}
.cc-contact__channel--email .cc-contact__channel-value,
.cc-contact__channel--instagram .cc-contact__channel-value,
.cc-contact__channel--phone .cc-contact__channel-value {
	direction: ltr;
	unicode-bidi: isolate;
}
.cc-contact__channel--email .cc-contact__channel-value {
	overflow-wrap: anywhere;
}
.cc-contact__channel--address .cc-contact__channel-value {
	max-width: 700px;
	font-size: 1.0625rem;
	font-weight: 700;
}

.cc-contact__form-wrap {
	position: relative;
	margin-inline: auto;
	margin-top: 4rem;
	width: 100%;
	max-width: 590px;
	padding-inline: 1.5rem;
	padding-bottom: 6rem;
}
.cc-contact__notice {
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: .75rem 1rem;
	font-size: .875rem;
	line-height: 1.75;
	text-align: right;
}
.cc-contact__notice--success {
	border-color: #b7e4c7;
	background: #edf9f1;
	color: #176b3a;
}
.cc-contact__notice--error {
	border-color: #f2b8b5;
	background: #fff1f0;
	color: #9f241f;
}
.cc-contact__honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.cc-contact__form-lead {
	text-align: center;
	font-size: 1.25rem;
	line-height: 2;
	opacity: .65;
}
.cc-contact__form {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	border-radius: var(--radius-lg);
	background: var(--brand-blue-soft);
	padding: 1.5rem;
}
.cc-contact__fields {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.cc-contact__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.cc-contact__field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .5rem;
}
.cc-contact__label {
	display: flex;
	direction: ltr;
	width: 100%;
	align-items: center;
	justify-content: flex-end;
	gap: .25rem;
	font-size: 1rem;
	line-height: 1.5;
	text-align: right;
}
.cc-contact__input,
.cc-contact__textarea {
	width: 100%;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(0, 0, 0, .08);
	background: #fff;
	padding: .75rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	text-align: right;
	direction: rtl;
	color: #000;
}
.cc-contact__input { height: 3rem; }
.cc-contact__textarea {
	min-height: 140px;
	resize: vertical;
}
.cc-contact__input:focus,
.cc-contact__textarea:focus {
	border-color: #000;
	outline: none;
}
.cc-contact__textarea::placeholder { color: #9e9e9e; }
.cc-contact__submit {
	height: 3rem;
	width: 100%;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.cc-contact__submit:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

@media (min-width: 640px) {
	.cc-contact__channels {
		grid-template-columns: repeat(3, 1fr);
	}
	.cc-contact__row {
		grid-template-columns: 1fr 1fr;
	}
	.cc-contact__form {
		padding: 2rem;
	}
}
@media (min-width: 768px) {
	.cc-contact__title { font-size: 3rem; }
}

/* ========================================================== FAQ =========== */

.cc-faq__head {
	margin-inline: auto;
	max-width: 820px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 5rem;       /* pt-20 */
	padding-bottom: 2.5rem;  /* pb-10 */
	text-align: center;
}
.cc-faq__title {
	font-size: 2.25rem;      /* text-4xl */
	font-weight: 800;
	line-height: 1.2;
}
.cc-faq__list {
	margin-inline: auto;
	max-width: 700px;
	display: flex;
	flex-direction: column;
	gap: .5rem;              /* gap-2 */
	padding-bottom: 6rem;    /* pb-24 */
}
.cc-faq__item {
	display: flex;
	flex-direction: column;
	gap: .5rem;              /* gap-2 */
	border-radius: var(--radius);  /* rounded-2xl -> 16px */
	background: var(--neutral-soft);
	padding: 1.25rem;        /* p-5 */
}
.cc-faq__summary {
	display: flex;
	align-items: center;
	gap: 1.25rem;            /* gap-5 */
	width: 100%;
	cursor: pointer;
	list-style: none;
	min-height: 29px;
}
.cc-faq__summary::-webkit-details-marker { display: none; }
.cc-faq__chevron {
	width: 1.5rem;           /* size-6 */
	height: 1.5rem;
	flex-shrink: 0;
	transition: transform .2s ease;
}
.cc-faq__item[open] .cc-faq__chevron { transform: rotate(180deg); }
.cc-faq__question {
	flex: 1;
	text-align: right;
	font-size: 1.25rem;      /* text-xl */
	font-weight: 600;
}
.cc-faq__answer {
	text-align: right;
	font-size: 1rem;
	font-weight: 500;
	opacity: .6;
}

/* ========================================================== LOGIN ========== */
.cc-login-page {
	min-height: 760px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.25rem;
}
.cc-login-card {
	position: relative;
	width: min(360px, 100%);
	min-height: 570px;
	border-radius: var(--radius-lg);
	background: var(--neutral-soft);
	padding: 32px;
}
.cc-login-card__logo {
	display: flex;
	justify-content: center;
}
.cc-login-card__logo img {
	width: 159.273px;
	height: 56px;
}
.cc-login-card__content {
	margin-top: 56px;
	width: 296px;
	max-width: 100%;
}
.cc-login-card__title {
	font-size: 24px;
	line-height: 35px;
	font-weight: 800;
	text-align: center;
}
.cc-login-card__form {
	margin-top: 32px;
}
.cc-login-field {
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}
.cc-login-field__label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}
.cc-login-field__input {
	width: 100%;
	height: 48px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: var(--radius-sm);
	background: #fff;
	padding: 0 16px;
	font-family: inherit;
	font-size: 16px;
	line-height: 24px;
	direction: rtl;
}
.cc-login-field__password-wrap {
	position: relative;
	display: block;
	width: 100%;
}
.cc-login-field__password-wrap .cc-login-field__input {
	padding-left: 48px;
}
.cc-login-field__eye {
	position: absolute;
	left: 16px;
	top: 12px;
	width: 24px;
	height: 24px;
	color: #747271;
	pointer-events: none;
}
.cc-login-card__actions {
	margin-top: 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.cc-login-card__submit {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: var(--radius-sm);
	background: #000;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.cc-login-card__register {
	font-size: 16px;
	line-height: 23px;
	font-weight: 600;
}
